const Express = require("express");
const router = Express.Router();
/**
 * 返回信令服务状态
 */
router.get("/status", async (req, res) => {
  try {
    res.status(200).send({
      status: "ok",
      msg: "信令服务正常",
      data: [],
      code: 200,
    });
  } catch (err) {
    res.status(500).send({
      status: "ok",
      msg: "信令服务异常",
      data: err,
      code: 500,
    });
  }
});

module.exports = router;
